﻿
using Admin.NET.Application.Entity;

namespace Admin.NET.Application;

    /// <summary>
    /// 设备模板输出参数
    /// </summary>
    public class DeviceTemplateInfoDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long Id { get; set; }
        
        /// <summary>
        /// 离线时间
        /// </summary>
        public int CusdeviceOfflineDecision { get; set; }
        
        /// <summary>
        /// 是否多从机
        /// </summary>
        public bool MultiSlaveMode { get; set; }
        
        /// <summary>
        /// 轮询方式
        /// </summary>
        public PollingMethod PollingMethod { get; set; }
        
        /// <summary>
        /// 状态配置
        /// </summary>
        public StateConfiguration StateConfiguration { get; set; }
        
        /// <summary>
        /// 模板名称
        /// </summary>
        public string TemplateName { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        
        /// <summary>
        /// 创建者Id
        /// </summary>
        public long? CreateUserId { get; set; }
        
        /// <summary>
        /// 创建者姓名
        /// </summary>
        public string? CreateUserName { get; set; }
        
        /// <summary>
        /// 修改者Id
        /// </summary>
        public long? UpdateUserId { get; set; }
        
        /// <summary>
        /// 修改者姓名
        /// </summary>
        public string? UpdateUserName { get; set; }
        
        /// <summary>
        /// 软删除
        /// </summary>
        public bool IsDelete { get; set; }
        
    }
